﻿using System;
using System.Collections.Generic;
using System.Text;
using TcpTestServer.DataLayer;

namespace TcpTestServer.BusinessLogic
{
    public class defaultTask : IRobotTask
    {
        EnumRobotTaskTypes _taskType;
        List<Argument> output_arg_lst = new List<Argument>();
        bool _waitToFinish;

        public defaultTask(EnumRobotTaskTypes type, List<Argument> arguments)
        {
            _taskType = type;
            output_arg_lst = arguments;
            _waitToFinish = true;
        }

        bool WaitToFinish
        {
            get
            {
                return _waitToFinish;
            }
        }

        override public String ToString()
        {
            return "Robot Predefined Task ( " + _taskType + " )";
        }

        #region IRobotTask Members

        public string to_Xml()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
